package cn.itlaobing.mybatis.entity;

import java.io.Serializable;
import java.util.Date;

import cn.itlaobing.mybatis.entity.enums.Gender;

public class Student extends BaseEntity implements Serializable{
	private static final long serialVersionUID = 1L;
	private String name;
	private Gender gender=Gender.Male;
	
	private Date birthday;

	
	
	public Student(String name, Gender gender, Date birthday) {
		super();
		this.name = name;
		this.gender = gender;
		this.birthday = birthday;
	}
	

	public Student() {
		super();
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Gender getGender() {
		return gender;
	}

	public void setGender(Gender gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}


	@Override
	public String toString() {
		return "Student [name=" + name + ", gender=" + gender + ", birthday=" + birthday + ", getId()=" + getId() + "]";
	}
	
	
	
}
